﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Solution.Business.Component;
using Solution.Business.Entities;
using Solution.Data;

namespace Solution.UI.Web.Controllers
{
    public class AdvertiseController : Controller
    {
        //
        // GET: /Advertise/

        public ActionResult Logo()
        {
            var list = Business.Component.AdvertiseComponent.Advertise_GetByTop("1", "Position = 1", "");
            return PartialView(list);
        }

        public ActionResult Banner()
        {
            var list = Business.Component.AdvertiseComponent.Advertise_GetByTop("1", "Position = 2", "");
            return PartialView(list);
        }
    }
}
